package main

import "fmt"

var a int = 100

func main() {
	//globalVariable()
	localVariable()
}

//全局变量
func globalVariable() {
	fmt.Println(a)
}

//局部变量
func localVariable() {
	var b int = 111
	fmt.Println(b)
}
